package org.example.infrastructure.persistence.user.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import org.example.model.BasePo;

/**
 * <p>
 * 
 * </p>
 *
 * @author example
 * @since 2024-08-04
 */
@Data
@TableName("User")
public class UserPO extends BasePo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("name")
    private String name;

    @TableField("birthday")
    private Date birthday;

    @TableField("address")
    private String address;

    @TableField("email")
    private String email;

    @TableField("phone")
    private String phone;

    @TableField("creator")
    private String creator;

    @TableField("modifier")
    private String modifier;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("modified_time")
    private LocalDateTime modifiedTime;

    @TableField("is_deleted")
    private String isDeleted;
}